//
//  CombinedPunchTableViewCell.h
//  YuTang
//
//  Created by 葛悦彣 on 2025/3/11.
//

#import <UIKit/UIKit.h>
#import "CombinedPunchModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface CombinedPunchTableViewCell : UITableViewCell

@property (nonatomic ,strong) CombinedPunchDayModel * model;
///去刷新-上下收缩使用
@property (nonatomic ,strong) void(^updateBlock)(void);
///当前天全部选中
@property (nonatomic ,strong) void(^seledDayBlock)(CombinedPunchDayModel * model);
///当前数据选中
@property (nonatomic ,strong) void(^seledModelBlock)(CombinedPunchModel * model);

@end



@interface CombinedPunchSubclassView : UIView
+ (instancetype)newViewWithModel:(CombinedPunchModel *) model;

@property (nonatomic ,strong) CombinedPunchModel * model;

///当前数据是否选中
@property (nonatomic ,strong) void(^seledModelBlock)(CombinedPunchModel * model ,BOOL isSeled);
@property (nonatomic ,strong) void(^openBlock)(CombinedPunchModel * model);

@end
NS_ASSUME_NONNULL_END
